package ywpt.service.config;

import java.util.List;

import org.hibernate.criterion.DetachedCriteria;

import com.ifp.weixin.MessageMng.Message.resp.RespMsgInfoDefine;

import ywpt.model.WeixinAccount;

public interface RespMsgInfoDefineService {

	public abstract RespMsgInfoDefine getRespMsgInfoDefineById(Long id);

	public abstract int getRespMsgInfoDefineCountByCriteria(DetachedCriteria query);

	public abstract List<RespMsgInfoDefine> getRespMsgInfoDefines(
			DetachedCriteria query, int pageSize, int startIndex);
	public abstract List<RespMsgInfoDefine> getRespMsgInfoDefines();
			
	public abstract void saveRespMsgInfoDefine(RespMsgInfoDefine respMsgInfoDefine, Long msgType,Long weixinAccountId,Long unitId);

	public abstract void updateRespMsgInfoDefine(RespMsgInfoDefine respMsgInfoDefine, Long msgType,Long weixinAccountId,Long unitId);

	public abstract void removeRespMsgInfoDefine(Long id);
	
	public abstract List<RespMsgInfoDefine> getRespMsgInfoDefineByTitle(String title, Long wexinAccountId,int start,int size);
	
	public abstract int getRespMsgInfoDefineCountByTitle(String title, Long wexinAccountId) ;
	public abstract void saveRespMsgInfoDefine(RespMsgInfoDefine respMsgInfoDefine) ;


}
